﻿using System;
using System.Collections.Generic;

namespace PandaWebAPI.Models.ef;

/// <summary>
/// 管理员操作
/// </summary>
public partial class AdminAction
{
    public Guid ActionId { get; set; }

    public Guid AdminUserId { get; set; }

    public Guid? TargetUserId { get; set; }

    public Guid? TargetPostId { get; set; }

    public Guid? TargetCommentId { get; set; }

    public byte ActionType { get; set; }

    public DateTime? ActionDate { get; set; }

    public string? Reason { get; set; }

    public virtual User AdminUser { get; set; } = null!;

    public virtual Comment? TargetComment { get; set; }

    public virtual Post? TargetPost { get; set; }

    public virtual User? TargetUser { get; set; }
}
